import {request} from '@/apis';

const Api = {
  /** 资讯左侧tab */
  GET_NEWS_TAB: '/user-center/event/channels',
  /** 资讯列表 */
  GET_EVENT_LIST: '/ep-query/event',

};


// @ts-ignore
export * from './types';

/** 资讯左侧tab */
export const getNewsTab = (params) => request.get({url: Api.GET_NEWS_TAB, params});

/** 资讯列表 */
export const getEsgList = (params) => request.get({url: Api.GET_EVENT_LIST, params});


